# !/usr/bin python3
# encoding: utf-8 -*-
# @file     : member_address_apis.py
# @author   : 沙陌 Matongxue_2
# @Time     : 2024/1/4 22:04
# @Copyright: 北京码同学

from api.base_api import BaseBuyerApi


class AddAddressApi(BaseBuyerApi):

    # 接口的基本信息，统一封装在init函数中
    def __init__(self):
        super().__init__()
        self.url = f'{self.host}/members/address'
        self.method = 'post'
        self.data = {
            "name":"沙陌20231114班",
            "addr":"这是详细地址",
            "mobile":"18729399607",
            "def_addr":0,
            "ship_address_name":"这是地址别名",
            "region":2799
        }